package com.xiaotian.common.exception;

import com.xiaotian.common.response.ResultCode;

public class ExceptionCast {

    private ExceptionCast() {
    }

    public static void cast(ResultCode resultCode) {
        throw new CustomException(resultCode);
    }
}
